<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <include file="Public:resource"/>
    <title>缴费成功</title>
</head>
<body>
<div class="container">
    <include file="Public:top" title="缴费结果"/>

    <div class="row" style="padding:10px 0px 10px 0px;color: #00FF00;font-size: medium;background-color: #f5f5f5"
         align="center">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
            缴费成功!
        </div>
    </div>

    <include file="Public:bar" text="账户信息"/>
    <div style="font-size: medium">
        <div class="row">
            <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" align="right">
                水费账号:
            </div>
            <div class="col-xs-7 col-sm-7 col-md-7 col-lg-7 c-gray">
                {$rechargeResult.userId}
            </div>
        </div>
        <div class="row">
            <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" align="right">
                充值金额:
            </div>
            <div class="col-xs-7 col-sm-7 col-md-7 col-lg-7 c-gray">
            <span class="c-red">￥
                <script>
                    document.write(FenToYuan('{$rechargeResult.amount}'));
                </script>
            </span>
                元
            </div>
        </div>
        <div class="row">
            <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" align="right">
                缴费时间:
            </div>
            <div class="col-xs-7 col-sm-7 col-md-7 col-lg-7 c-gray">
                {$rechargeResult.payTime}
            </div>
        </div>
    </div>

    <div class="row" style="margin-top: 30px;">
        <div class="col-xs-12 col-sm-12 col-mg-12 col-md-12">
            <div><input type="button" class="btn btn-lg btn-block jss-button"
                        onclick="onBack() " value="确定"/>
            </div>
        </div>
    </div>
</div>
<script>
    function onBack() {
        window.location.href = "{:U('Pay/index')}";
    }
</script>
</body>
</html>